HTMLify

index.html
Views: 128 | Author: cody
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Digital Clock</title>
    <link rel="stylesheet" href="style.css" />
    <link rel="shortcut icon" href="assets/favicon.png" type="image/x-icon" />
    <script src="script.js" defer></script>
  </head>
  <body>
    <section>
      <h3 class="heading">Digital Clock</h3>
      <div class="clock">
        <div class="container">
          <h2 id="hour">00</h2>
          <h2 class="dot">:</h2>
          <h2 id="minute">00</h2>
          <h2 class="dot">:</h2>
          <h2 id="seconds">00</h2>
          <span id="ampm">AM</span>
        </div>
      </div>
    </section>
    <footer>
      <p>
        &#x3c; &#47; &#x3e; with ❤️ by
        <a href="https://swapnilsparsh.github.io/">Swapnil Srivastava</a>
        <br />
        <a
          href="https://github.com/swapnilsparsh/30DaysOfJavaScript"
          target="_blank"
          >#30DaysOfJavaScript
        </a>
      </p>
    </footer>
  </body>
</html>

Comments